package com.ruubypay.miss.miniotest.dto;

import com.ruubypay.miss.miniotest.pojo.Grade;

/**
 * @author fj
 * @date 2025/2/14 15:32
 */
public class UserDTO2 {
    private String userName;
    private int age;
    private Grade grade;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "userName='" + userName + '\'' +
                ", age=" + age +
                ", grade=" + grade +
                '}';
    }
}
